# $Id$
# Maintainer: Felix Yan <felixonmars@archlinux.org>

pkgname=aspell-en
pkgver=2016.06.26
pkgrel=1
pkgdesc="English dictionary for aspell"
arch=('i686' 'x86_64')
url="http://aspell.net/"
license=('custom')
depends=('aspell')
source=("ftp://ftp.gnu.org/gnu/aspell/dict/en/aspell6-en-$pkgver-0.tar.bz2")
md5sums=('649ab2b179fdf97ab716a83896fd57d7')
sha1sums=('64d3a6fd5ad22e63130cac94648aebdc80e55f8f')

build() {
  cd "$srcdir/aspell6-en-$pkgver-0"
  ./configure
  make
}

package() {
  cd "$srcdir/aspell6-en-$pkgver-0"
  make DESTDIR="$pkgdir" install

  install -D -m644 Copyright "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
